#ifndef __COMMON_HH__
#define __COMMON_HH__

typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;

typedef unsigned long long u64;
typedef unsigned long u32;
typedef unsigned short u16;
typedef unsigned char u8;

typedef long long s64;
typedef signed long s32;
typedef signed short s16;
typedef signed char s8;

typedef	enum {false, true} bool;
/**
 * \def FALSE
 * \brief FALSE value, defined as 0 by MiniGUI.
 */
#ifndef FALSE
    #define FALSE       0
#endif
/**
 * \def TRUE
 * \brief TRUE value, defined as 1 by MiniGUI.
 */
#ifndef TRUE
    #define TRUE        1
#endif
/**
 * \def NULL
 * \brief A value indicates null pointer.
 */
#ifndef NULL
#define NULL            ((void *)0)
#endif

#define IO_ARGC_MAX (32)
#define IO_BUF_SIZE (512)

#define CMD_PROMPT ("\n>")
#define SPACE (' ')
#define TAB ('\t')

#endif
